<?php
    //=========================<script réaliser par :MEZOUARI KHALID>===================
    include("verifierSession.php");        //on va starter la session au debut de la page
    require_once("beans/nomadeBean.php");
    require_once("dao/nomadeDao.php");
    include('connectBD.php');
  extract($_POST);
   $nomade =new nomadeBean();
   $nomadeDao= new nomadeDao();
  $nomade=$nomadeDao->loadNomadeByLogin($login);
  $tpl->assign('nomade',$nomade);
   $title="monCompte";
   if(isset($modifier_theme)){
    $_SESSION['theme']=$theme;
    echo "wiiii";
    $tpl->display("monCompte.html");
   }
    //$tpl->assign('theme',$_SESSION['theme']);
    $tpl->assign('title',$title);
   $tpl->display("monCompte.html");


?>